<?php

namespace App\Http\Requests\Admin\BindingController;

use App\Http\Requests\BaseRequest;

class doRule extends BaseRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'discount_name'=>'required',
            'points_attention'=>'required',
        ];
    }

    public function messages()
    {
        return [
            'discount_name.required' => '捆绑商品名称填写',
            'points_attention.required' => '注意事项',
        ];
    }
}
